package com.hx.springcloud.client;

/**
 * @author chm
 * @title: ProductClientFeignHystrix
 * @projectName springcloud
 * @description: TODO
 * @date 2020/2/2714:23
 */
import java.util.ArrayList;
import java.util.List;

import com.hx.springcloud.pojo.Product;
import org.springframework.stereotype.Component;



@Component
public class ProductClientFeignHystrix implements ProductClientFeign{
    public List<Product> listProdcuts(){
        List<Product> result = new ArrayList<>();
        result.add(new Product(0,"产品数据微服务不可用",0));
        return result;
    }

}